BlueCielo TeamWork 2012 VBScript API Reference | BlueCielo ECM Solutions

You are here: Understanding the TeamWork object model > About the Vault object > The Vault object methods > ExecSQL method

ExecSQL method

Executes an SQL query using the specified connection string.

Syntax
ExecSQL(Connection As String, Query As String, [Parameters])
Parameters
Name Description

Connection

A valid connection string for the database with which to execute the query.

This parameter also accepts a variable that represents one of the following vault databases described in the table. The variables are case-sensitive.

$$UserDB – The user account database

Query

A valid SQL query expression.

Parameters

Optional parameters.

Related concepts

About the Vault object 


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com